package com.symaster.common.swing.element.polygon;

import javax.swing.*;
import java.awt.*;
import java.util.List;
import java.util.*;

/**
 * @author yinmiao
 * @version 2022-11-02 14:29
 */
public class JPolygonPanel extends JComponent {

    private final JPolygon jPolygon;
    private final int DRAW_TYPE;

    public static final int DRAW_TYPE_AUTO = 0;

    public JPolygonPanel(JPolygon jPolygon) {
        this.jPolygon = jPolygon;
        DRAW_TYPE = DRAW_TYPE_AUTO;
    }

    public JPolygonPanel(JPolygon jPolygon, int drawType) {
        this.jPolygon = jPolygon;
        DRAW_TYPE = drawType;
    }


}